﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;

namespace ProjectRoughWork
{
    class EventButtonPressed : BaseEventData
    {
        /// <summary>
        /// 1-Parameter Constructor with the button input state to be handdled
        /// </summary>
        /// <param name="initButton">The Button input state to be handled</param>

        public EventButtonPressed(GamePadState initButton)
            : base()
        {
            eventType = "ButtonPressed";

            inputButton = initButton;
        }

        /// <summary>
        /// Property to retrieve the button input state to be handled
        /// </summary>

        public GamePadState InputButton
        {
            get { return inputButton; }
        }

        //Data Member

        GamePadState inputButton;           //The Button input state to be handled
    }
}
